package com.wss.common.widget;

import ohos.agp.components.AttrSet;
import ohos.agp.components.ListContainer;
import ohos.app.Context;

/**
 * TODO Describe: 滑动中阻碍事件传递 当滑动到顶部 将事件传递给父类
 * Created by 吴天强 on 2018/11/1.
 */
public class HinderListView extends ListContainer implements ListContainer.ScrollListener {

    private float oldY;
    private int currentPosition;

    public HinderListView(Context context) {
        this(context, null);
    }

    public HinderListView(Context context, AttrSet attrSet) {
        this(context, attrSet, null);
    }

    public HinderListView(Context context, AttrSet attrSet, String styleName) {
        super(context, attrSet, styleName);
        setScrollListener(this);
    }

    @Override
    public void onScrollFinished() {

    }

}
